// 静态菜单数据类型定义
interface StaticMenuItem {
    id: string;
    title: string;
    index: string;
    icon?: string;
    pid?: string;
    permiss?: string;
    children?: StaticMenuItem[];
}

export const menuData: StaticMenuItem[] = [
    {
        id: 'dashboard',
        title: '系统首页',
        index: '/dashboard',
        icon: 'Odometer',
    },
    {
        id: 'system',
        title: '系统管理',
        index: 'system',
        icon: 'HomeFilled',
        children: [
            {
                id: 'system-user',
                pid: 'system',
                index: '/system-user',
                title: '用户管理',
            },
            {
                id: 'system-user-group',
                pid: 'system',
                index: '/system-user-group',
                title: '用户组管理',
            },
            {
                id: 'system-menu',
                pid: 'system',
                index: '/system-menu',
                title: '菜单管理',
            },
        ],
    },
    {
        id: 'member',
        title: '会员管理',
        index: 'member',
        icon: 'User',
        children: [
            {
                id: 'member-list',
                pid: 'member',
                index: '/member-list',
                title: '会员列表',
            },
            {
                id: 'coupon-list',
                pid: 'member',
                index: '/coupon-list',
                title: '优惠券列表',
            },
            {
                id: 'prop-list',
                pid: 'member',
                index: '/prop-list',
                title: '道具列表',
            },
            {
                id: 'level-list',
                pid: 'member',
                index: '/level-list',
                title: '等级列表',
            },
            {
                id: 'task-list',
                pid: 'member',
                index: '/task-list',
                title: '任务列表',
            },
        ],
    },
    {
        id: 'service-provider',
        title: '服务商/专家',
        index: 'service-provider',
        icon: 'UserFilled',
        children: [
            {
                id: 'service-provider-main',
                pid: 'service-provider',
                index: '/service-provider-main',
                title: '服务商主体',
            },
            {
                id: 'expert-list',
                pid: 'service-provider',
                index: '/expert-list',
                title: '专家列表',
            },
        ],
    },
    {
        id: 'order',
        title: '订单管理',
        index: 'order',
        icon: 'DocumentAdd',
        children: [
            {
                id: 'question-order-list',
                pid: 'order',
                index: '/question-order-list',
                title: '提问订单',
            },
            {
                id: 'service-order-list',
                pid: 'order',
                index: '/service-order-list',
                title: '服务订单',
            },
            {
                id: 'product-order-list',
                pid: 'order',
                index: '/product-order-list',
                title: '商品订单',
            },
        ],
    },
    {
        id: 'product',
        title: '商品管理',
        index: 'product',
        icon: 'Box',
        children: [
            {
                id: 'product-list',
                pid: 'product',
                index: '/product-list',
                title: '商品列表',
            },
            {
                id: 'product-category-list',
                pid: 'product',
                index: '/product-category-list',
                title: '商品分类',
            },
            {
                id: 'interest-list',
                pid: 'product',
                index: '/interest-list',
                title: '兴趣列表',
            },
            {
                id: 'expertise-list',
                pid: 'product',
                index: '/expertise-list',
                title: '擅长领域',
            },
            {
                id: 'service-list',
                pid: 'product',
                index: '/service-list',
                title: '服务列表',
            },
            {
                id: 'video-image-list',
                pid: 'product',
                index: '/video-image-list',
                title: '视频图片列表',
            },
        ],
    },
    {
        id: 'withdrawal',
        title: '分销提现',
        index: 'withdrawal',
        icon: 'Guide',
        children: [
            {
                id: 'question-category-list',
                pid: 'withdrawal',
                index: '/question-category-list',
                title: '快速问题分类',
            },
            {
                id: 'recommended-question-list',
                pid: 'withdrawal',
                index: '/recommended-question-list',
                title: '推荐问题',
            },
            {
                id: 'task-list',
                pid: 'withdrawal',
                index: '/task-list',
                title: '任务列表',
            },
            {
                id: 'withdrawal-list',
                pid: 'withdrawal',
                index: '/withdrawal-list',
                title: '提现列表(服务商)',
            },
            {
                id: 'platform-withdrawal-list',
                pid: 'withdrawal',
                index: '/platform-withdrawal-list',
                title: '提现列表(平台)',
            },
        ],
    },
    {
        id: 'carousel',
        title: '轮播管理',
        index: 'carousel',
        icon: 'Picture',
        children: [
            {
                id: 'carousel-list',
                pid: 'carousel',
                index: '/carousel-list',
                title: '轮播列表',
            },
            {
                id: 'topic-list',
                pid: 'carousel',
                index: '/topic-list',
                title: '话题列表',
            },
            {
                id: 'activity-list',
                pid: 'carousel',
                index: '/activity-list',
                title: '活动列表',
            },
            {
                id: 'faq-list',
                pid: 'carousel',
                index: '/faq-list',
                title: '常见问题列表',
            },
            {
                id: 'sign-in-config',
                pid: 'carousel',
                index: '/sign-in-config',
                title: '签到配置',
            },
        ],
    },
    {
        id: 'icon',
        icon: 'Guide',
        index: '/icon',
        title: '图标',
    },
    {
        id: 'theme',
        icon: 'Brush',
        index: '/theme',
        title: '主题',
    },
    {
        id: 'pages',
        icon: 'DocumentAdd',
        index: 'pages',
        title: '附加页面',
        children: [
            {
                id: 'ucenter',
                pid: 'pages',
                index: '/ucenter',
                title: '个人中心',
            },
            {
                id: 'editor',
                pid: 'pages',
                index: '/editor',
                title: '富文本编辑器',
            },
            {
                id: 'login',
                pid: 'pages',
                index: '/login',
                title: '登录',
            },
            {
                id: 'register',
                pid: 'pages',
                index: '/register',
                title: '注册',
            },
            {
                id: 'reset-pwd',
                pid: 'pages',
                index: '/reset-pwd',
                title: '重设密码',
            },
            {
                id: '403',
                pid: 'pages',
                index: '/403',
                title: '403',
            },
            {
                id: '404',
                pid: 'pages',
                index: '/404',
                title: '404',
            },
        ],
    },
];
